<?php echo $header; ?><?php echo $column_left; ?><?php echo $column_right; ?>

<?php 
	$spanClass="span9";
	if( strlen(trim($column_left)) > 0  && strlen(trim($column_right)) > 0 ){
		$spanClass="span6";
	}else if(strlen(trim($column_left)) > 0  || strlen(trim($column_right)) > 0 ){
		$spanClass="span9";
	}else if(strlen(trim($column_left))== 0 && strlen(trim($column_right))== 0){
		$spanClass="span12";
	}else{
		$spanClass="span6";
	}
?>
<div class="<?php echo $spanClass;?>">
<div id="content">
<?php echo $content_top; ?>

  <div class="breadcrumb">
    <?php foreach ($breadcrumbs as $breadcrumb) { ?>
    <?php echo $breadcrumb['separator']; ?><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a>
    <?php } ?>
  </div>
  
  <h1><?php echo $heading_title; ?></h1>
  

  	  <?php if($this->config->get('cont_map') != '') { ?>
  	  
      	<!-- Responsive iFrame -->
        <div class="Flexible-container">
        	<iframe src="<?php echo $this->config->get('cont_map')?>" width="600" height="450" frameborder="0" style="border:0"></iframe>
        </div>

      <?php } ?>
            
      <div class="clearfix"></div>
      
      <div class="row">
      
      <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data">
      
      <div class="span3">
      	<h2><?php echo $text_location; ?></h2>
        <div class="contact-info">
          <div class="content">
            <div class="left"><b><?php echo $text_address; ?></b><br />
                <?php echo $store; ?><br />
                <?php echo $address; ?>
            </div>
            <div class="clearfix"></div><br />
            <?php if ($telephone) { ?>
            <b><?php echo $text_telephone; ?></b><br />
            <?php echo $telephone; ?><br />
            <br />
            <?php } ?>
            <?php if ($fax) { ?>
            <b><?php echo $text_fax; ?></b><br />
            <?php echo $fax; ?>
            <?php } ?>
           </div>
        </div>
        
        <?php if($this->config->get('cont_desc_' . $this->config->get('config_language_id')) != '') { ?>
        <div class="content">
        	<h2><?php echo $this->config->get('cont_title_' . $this->config->get('config_language_id'))?></h2>
            <p>
            	<?php echo $this->config->get('cont_desc_' . $this->config->get('config_language_id'))?>
            </p>
        </div>
        <?php } ?>
      </div>
      
      <div class="span9">
          
            
            <h2><?php echo $text_contact; ?></h2>
            <div class="content">
            <b><?php echo $entry_name; ?></b><br />
            <input type="text" name="name" value="<?php echo $name; ?>" />
            <br />
            <?php if ($error_name) { ?>
            <span class="error"><?php echo $error_name; ?></span>
            <?php } ?>
            <br />
            <b><?php echo $entry_email; ?></b><br />
            <input type="text" name="email" value="<?php echo $email; ?>" />
            <br />
            <?php if ($error_email) { ?>
            <span class="error"><?php echo $error_email; ?></span>
            <?php } ?>
            <br />
            <b><?php echo $entry_enquiry; ?></b><br />
            <textarea name="enquiry" cols="40" rows="10" style="width: 99%;"><?php echo $enquiry; ?></textarea>
            <br />
            <?php if ($error_enquiry) { ?>
            <span class="error"><?php echo $error_enquiry; ?></span>
            <?php } ?>
            <br />
            <b><?php echo $entry_captcha; ?></b><br />
            <input type="text" name="captcha" value="<?php echo $captcha; ?>" />
            <br />
            <img src="index.php?route=information/contact/captcha" alt="" />
            <?php if ($error_captcha) { ?>
            <span class="error"><?php echo $error_captcha; ?></span>
            <?php } ?>
            </div>
            <div class="buttons">
              <div class="right"><input type="submit" value="<?php echo $button_continue; ?>" class="button" /></div>
            </div>
          
      </div>
      
      </form>
      
      </div>

  <?php echo $content_bottom; ?></div>
</div>
<?php echo $footer; ?>